HTTPSocket.Post Method

Issues a POST command to the web server. The PageReceived event will execute when the response data has been retrieved.

Syntax

HTTPSocket.Post URL, [File], [Timeout]


Parameters

URL

String

File (Optional)

FolderItem

Timeout (Optional)

Integer


If a FolderItem is passed, the data will be downloaded to that file. The DownloadComplete event will execute when the response data has been retrieved.

If the optional Timeout parameter (seconds) is used, REALbasic will wait the specified number of seconds for a response. When using the Timeout parameter, the page will be posted in a synchronous manner. Set the Yield property to True to allow for background activities while waiting.